package cn.springcloudandalibaba.service;

import cn.springcloudandalibaba.dao.Product;
import org.springframework.web.bind.annotation.*;

@RequestMapping("/product")
public interface IProductService {
    @PostMapping("/insertProduct")
    int InsertProduct(@RequestBody Product mallOrder);
    @PutMapping("/updateProduct")
    void  UpdateProduct(@RequestBody Product mallOrder);
    @GetMapping("/selectProduct")
    Product  SelectProduct(@RequestParam("id") int orderId);
}
